@rem: (@px / 75)*1rem;
@px: 0;

.mint-header-title,
.mintui-back {
  color: #ffffff;
}

.home {
  padding-bottom: 55px;

  .picture-box {
    display: inline-block;
  }

  .row-flex,
  .colum-flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  .row-flex {
    flex-direction: row;
  }

  .colum-flex {
    flex-direction: column;
  }

  .mint-tabbar {
    background-color: #ffffff;
  }

  img {
    width: 100%;
    height: 100%;
  }

  .home-body {
    background-color: #EAEAEA;

    .banner {
      padding: 15/75rem 18/75rem;
      height: @rem;
      @px: 422;
      background-color: #ffffff;
    }

    .notice-box {
      background-color: #ffffff;
      margin: 13/75rem 0 0 0;

      .notice {
        padding: 5px 10px;
        font-size: 14px;
        border-bottom: 0.5px solid #EAEAEA;

        .icon-rectangle {
          display: inline-block;
          height: 14px;
          width: 5px;
          margin-right: 4px;
          background-color: #4787E4;
        }
      }

      .voice-icon {
        width: 11px;
        height: 13px;
      }

      .notice-msg {
        display: flex;
        padding: 9px 22px;
        font-size: 12px;
        color: #000000;

        .notice-type {
          margin-left: 10px;
        }

        .notice-time {
          flex: 1 0 auto;
          text-align: right;
        }

      }
    }

    .menu-box {
      margin: 13/75rem 0;
      background-color: #ffffff;

      // height: @rem;
      // @px:387;   
      .item-box {
        padding: @rem @rem 0;
        @px: 31;

        .item {
          width: 25%;
          margin-bottom: (24 / 75) * 1rem;
          line-height: 20px;
        }
      }

      .menu-size {
        width: @rem;
        height: @rem;
        padding: 7px;
        margin-bottom: 8px;
        @px: 90;
        border-radius: 5px;
        box-sizing: border-box;
      }
    }

    .excellent-courses-box {
      .excellent-courses {
        padding: 31/75rem;

        .courses-card {
          width: 329/75rem;
          box-shadow: 0px 3px 7px 0px rgba(153, 153, 153, 0.59);
          border-radius: 20/75rem 20/75rem 0 0;
          overflow: hidden;

          .img-box {
            height: 145/75rem;
            background-size: cover;
            background-position: 50% 50%;
            background-repeat: no-repeat;

            img {
              border-radius: 20/75rem 20/75rem 0 0;
            }
          }

          .courses-tip {
            padding: 15/75rem 12/75rem;
            min-height: 47px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }

          .user-msg {
            padding: 0 0 12/75rem 15/75rem;
          }
        }
      }

    }

    .teacher-box {
      .teacher-card {
        padding: 15px 0 10px 15px;
      }

      .teacher-item {
        // flex: 1 0 auto;
        float: left;
        width: 210/75rem;
        padding: 22/75rem 0 30/75rem 22/75rem;
        margin-right: 32/75rem;
        background-color: #C9EEF7;
        border-radius: 20/75rem;

        .teacher-picture {
          width: 50/75rem;
          height: 50/75rem;
          margin-right: 20/75rem;
          border-radius: 50%;
          overflow: hidden;
          background-position: 50% 50%;
          background-size: cover;
        }

        .teacher-name {
          font-size: 21/75rem;
        }

        .detail {
          margin-top: 3px;
          font-size: 18/75rem;
          color: #999999;
        }

      }

      .teacher-pink-item {
        // flex: 1 0 auto;
        float: left;
        width: 115px;
        padding: 11px 0 15px 11px;
        margin-right: 16px;
        background-color: #F6C8CA;
        border-radius: 20/75rem;

        .teacher-picture {
          width: 25px;
          height: 25px;
          margin-right: 10px;
          border-radius: 50%;
          overflow: hidden;
        }

        .teacher-name {
          font-size: 21/75rem;
        }

        .detail {
          margin-top: 3px;
          font-size: 18/75rem;
          color: #999999;
        }
      }

      .teacher-yellow-item {
        // flex: 1 0 auto;
        float: left;
        width: 115px;
        padding: 11px 0 15px 11px;
        margin-right: 16px;
        background-color: #F5DBC2;
        border-radius: 20/75rem;

        .teacher-picture {
          width: 25px;
          height: 25px;
          margin-right: 10px;
          border-radius: 50%;
          overflow: hidden;
        }

        .teacher-name {
          font-size: 21/75rem;
        }

        .detail {
          margin-top: 3px;
          font-size: 18/75rem;
          color: #999999;
        }
      }
    }
  }
}
